ZoomLevel

class ZoomLevel

A zoom level of a web page. Provides a set of the pre-defined constants. Each constant name consists of the "P_" prefix followed by a number. The number represents a zoom level in percents. For example, the P_25 and P_110 values represent the 25% and 110% zoom levels accordingly.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun of(value: Double): ZoomLevel
Returns a ZoomLevel instance for the given double value.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun value(): Double
Returns double representation of the current zoom level.
Link copied to clipboard
open fun values(): List<ZoomLevel>
Returns an immutable list of the pre-defined zoom levels.